<?php
/**
 * @file test013.php
 * @package taobaoke
 * @subpackage 
 * @version $id: 0.1 UTF-8 2009-7-21 下午08:06:27 $
 * @author LD King (mifunny.info)
 * @copyright Copyright (c) 2007 - 2009 MiFunny China Inc. (http://mifunny.info)
 * 测试del.us书签上传，示例：
 * http://nashruddin.com/php5-class-to-access-delicious-web-service-api.html
 */
/*require_once 'lib/DeliciousBrownies.php';

$url   = "http://www.google.com";
$desc  = "Search the web";
$tags  = "search-engine groups";
$notes = "Best search engine, try it!";
 
$d = new DeliciousBrownies;
$d->setUsername("feelings");
$d->setPassword("feel2kld");*/
//var_dump($d->addPost($url, $desc, $tags, $notes));

//require_once 'lib/functions.php';
echo time();
var_dump( date('Y-m-d\TH:i:sO', time()) );


/*$stime=microtime(true); //获取程序开始执行的时间

$ig = new tbkDB();
$re = $ig->getItemsIid(10);
unset($ig);

$etime=microtime(true);//获取程序执行结束的时间
$total=$etime-$stime;   //计算差值
echo "<br />随机处理前: {$total} times";






$stime=microtime(true); //获取程序开始执行的时间

$ig = new tbkDB();
for ($i=0; $i<10; $i++){
	$re = $ig->getItemRand();
}
unset($ig);

$etime=microtime(true);//获取程序执行结束的时间
$total=$etime-$stime;   //计算差值
echo "<br />随机处理后: {$total} times";



echo mt_rand(-19, 0);*/


/*$name1 = preg_replace('/\s|\./', '-', "mr.in g");
$name2 = str_replace(' ', '-', "mr.in g");
echo "{$name1}<br />{$name2}";*/
?>